package com.shop.cereshop.admin.dao.disable;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.commons.domain.disable.BuyerDisableTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.List;

@Mapper
public interface BuyerDisableTimeDAO extends BaseMapper<BuyerDisableTime> {
   List<com.shop.cereshop.commons.domain.disable.BuyerDisableTime> selectDisableTime();

   int deleteByBuyerId(Long buyerUserId);

   int deleteBatchBuyerIds(@Param("userIds") List<Long> userIds);

  LocalDateTime selecBuyerDisableTime(Long buyerUserId);
}
